﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.Text;

namespace OSIRIS.Service.Contracts
{
    /// <summary>
    /// The ResultDetails class contains the data contract for details
    /// of a result.
    /// </summary>
    [DataContract]
    public class ResultDetails
    {
        /// <summary>
        /// The course this result is for
        /// </summary>
        [DataMember]
        public CourseDetails Course { get; set; }

        /// <summary>
        /// The given mark
        /// </summary>
        [DataMember]
        public int Mark { get; set; }

        /// <summary>
        /// The number of points given
        /// </summary>
        [DataMember]
        public int Points { get; set; }
    }
}
